<template>
  <div class="methodRuleModelIndex_contianer">
    <ruleModelIndex :templateTypeP="templateTy" :templateTitleP="templateTitle"> </ruleModelIndex> 
  </div>
</template>

<script>
//1.import 引入子组件
import ruleModelIndex from '../component/ruleModel_index'

export default {
  data() {
    return {
      templateTy:"1",
      templateTitle:"定价方法"
    }
  },
  //2.在components 中 注入子组件
  components: {
    ruleModelIndex
  }
}
</script>